<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>智能垃圾桶平台</title>
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" href="/css/ionicons.min.css">
  <!-- Theme style -->
  <link rel="stylesheet" href="dist/css/AdminLTE.min.css">
  <!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
  <link rel="stylesheet" href="dist/css/skins/_all-skins.min.css">
  <!-- iCheck -->
  <link rel="stylesheet" href="plugins/iCheck/flat/blue.css">
  <!-- Morris chart -->
  <!-- jvectormap -->
  <link rel="stylesheet" href="plugins/jvectormap/jquery-jvectormap-1.2.2.css">
  <!-- Date Picker -->
  <link rel="stylesheet" href="plugins/datepicker/datepicker3.css">
  <!-- Daterange picker -->
  <link rel="stylesheet" href="plugins/daterangepicker/daterangepicker.css">
  <!-- bootstrap wysihtml5 - text editor -->
  <link rel="stylesheet" href="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css">
  <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  <!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
<style type="text/css">
        .info {
            border: solid 1px silver;
        }
        div.info-top {
            position: relative;
            background: none repeat scroll 0 0 #F9F9F9;
            border-bottom: 1px solid #CCC;
            border-radius: 5px 5px 0 0;
        }
        div.info-top div {
            display: inline-block;
            color: #333333;
            font-size: 14px;
            font-weight: bold;
            line-height: 31px;
            padding: 0 10px;
        }
        div.info-top img {
            position: absolute;
            top: 10px;
            right: 10px;
            transition-duration: 0.25s;
        }
        div.info-top img:hover {
            box-shadow: 0px 0px 5px #000;
        }
        div.info-middle {
            font-size: 12px;
            padding: 6px;
            line-height: 20px;
        }
        div.info-bottom {
            height: 0px;
            width: 100%;
            clear: both;
            text-align: center;
        }
        div.info-bottom img {
            position: relative;
            z-index: 104;
        }
        span {
            margin-left: 1px;
        }
        .info-middle img {
            float: left;
            margin-right: 6px;
        }
    </style>


<style class="cp-pen-styles">#shiva
{
  width: 80px;
	height: 80px;
	background: red;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
  margin:5px;
  margin-top: -10px;
  margin-left: 80px;
  text-align:center;
}
.count
{
  line-height: 80px;
  color:white;
  font-size:25px;
}

.linker
{
  font-size : 20px;
  font-color: black;
}
</style>


<style class="cp-pen-styles">body {
  background: #222;
}

#battery, #reflection {
  margin: 0 auto 2px auto;
  width: 225px;
}

#battery {
  margin-top: -10px;
  margin-left: 80px;
}

#reflection {
  opacity: 0.4;
  transform: scaleY(-1);
}

.bottom, .middle, .top-b, .top-a {
  margin-right: -4px;
}

.bottom, .top-b {
  background: #444 linear-gradient(rgba(255, 255, 255, 0.3) 0%, transparent 13%, transparent 20%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 50%, transparent 75%, rgba(255, 255, 255, 0.5) 90%);
  border-radius: 3px;
  display: inline-block;
  height: 50px;
  width: 8px;
  vertical-align: middle;
}

.middle {
  border: 1px solid #222;
  border-radius: 3px;
  display: inline-block;
  overflow: hidden;
  height: 50px;
  width: 200px;
  vertical-align: middle;
}

.top-a {
  background: #444 linear-gradient(rgba(255, 255, 255, 0.3) 0%, transparent 13%, transparent 20%, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 50%, transparent 75%, rgba(255, 255, 255, 0.5) 90%);
  border-radius: 3px;
  display: inline-block;
  height: 50px;
  width: 8px;
  vertical-align: middle;
}

.fill {
  background: linear-gradient(#0c0 0%, #00aa00 50%, #0c0 100%);
  box-shadow: 0 0 10px #0c0;
  height: 96px;
  margin: 2px 0;
  width: 75%;
}

.glass {
  background-image: linear-gradient(rgba(255, 255, 255, 0.3) 0%, transparent 10%, transparent 20%, rgba(255, 255, 255, 0.3) 20%, rgba(255, 255, 255, 0.25) 20%, transparent 50%, transparent 75%, rgba(255, 255, 255, 0.25) 90%);
  border-radius: 3px;
  display: block;
  height: 100px;
  position: absolute;
  width: 200px;
  z-index: 1;
}

.fade {
  background: linear-gradient(#222 0%, #222 50%, transparent 100%);
  position: absolute;
  height: 100%;
  width: 101%;
  z-index: 2;
}
</style>
<style>
.piclist li{ float:left;}
.swaplist{ position:absolute; left:-3000px; top:0px}
.og_prev,.og_next{ width:30px; height:50px; background:url(/img/icon.png) no-repeat; background:url(../images/icon_ie6.png) no-repeat\9; position:absolute; top:33px; z-index:99; cursor:pointer;filter:alpha(opacity=70); opacity:0.7;}
.og_prev{ background-position:0 -60px; left:4px;}
.og_next{ background-position:0 0; right:4px;}
</style>
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

  <header class="main-header">
    <!-- Logo -->
    <a href="index2.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><b>平台</b></span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><b>智能垃圾桶</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li>
           <div style="position: relative;display: table;border: 1px solid #374850 transparent;top:10px" class="input-group">
               <input type="text" name="q" class="form-control" style="height:35px;box-shadow: none;border: 1px solid transparent;" placeholder="Search...">
               <span class="" style="display: table-cell;">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat" style="margin-top:-27px;height:35px"><i class="fa fa-search"></i>
                </button>
              </span>
           </div>
          </li>
          <!-- Notifications: style can be found in dropdown.less -->
          <li class="dropdown notifications-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <i class="fa fa-bell-o"></i>
              <span class="label label-warning">10</span>
            </a>
            <ul class="dropdown-menu">
              <li class="header">You have 10 notifications</li>
              <li>
                <!-- inner menu: contains the actual data -->
                <ul class="menu">
                  <li>
                    <a href="#">
                      <i class="fa fa-users text-aqua"></i> 5 new members joined today
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <i class="fa fa-warning text-yellow"></i> Very long description here that may not fit into the
                      page and may cause design problems
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <i class="fa fa-users text-red"></i> 5 new members joined
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <i class="fa fa-shopping-cart text-green"></i> 25 sales made
                    </a>
                  </li>
                  <li>
                    <a href="#">
                      <i class="fa fa-user text-red"></i> You changed your username
                    </a>
                  </li>
                </ul>
              </li>
              <li class="footer"><a href="#">View all</a></li>
            </ul>
          </li>
          
          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="dist/img/user2-160x160.jpg" class="user-image" alt="User Image">
              <span class="hidden-xs">admin</span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="dist/img/user2-160x160.jpg" class="img-circle" alt="User Image">

                <p>
                  Alexander Pierce - Web Developer
                  <small>Member since Nov. 2012</small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">Followers</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Sales</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">Friends</a>
                  </div>
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a href="#" class="btn btn-default btn-flat">Profile</a>
                </div>
                <div class="pull-right">
                  <a href="#" class="btn btn-default btn-flat">Sign out</a>
                </div>
              </li>
            </ul>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>
  <!-- Left side column. contains the logo and sidebar -->
  <aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
      <!-- sidebar menu: : style can be found in sidebar.less -->
      <ul class="sidebar-menu">
        <li class="header">平台</li>
        <li><a href="#"><i class="fa fa-circle-o text-aqua"></i> <span>主页</span></a></li>
        <li><a href="devices/new"><i class="fa fa-plus text-aqua"></i> <span>新建</span></a></li>
        <li class="treeview">
          <a href="#">
            <i class="fa fa-dashboard"></i> 
            <span>监控面板</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="/panel"><i class="fa fa-circle-o"></i>实时设备</a></li>
          </ul>
        </li>
        <li class="treeview " >
          <a href="#">
            <i class="fa fa-files-o"></i>
            <span>设备管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="/lists"><i class="fa fa-circle-o"></i> 设备信息</a></li>
          </ul>
        </li>
        <li class="treeview " >
          <a href="#">
            <i class="fa fa-files-o"></i>
            <span>应用场景</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li class="active"><a href="start"><i class="fa fa-circle-o"></i> 典型案例</a></li>
          </ul>
        </li>
        <li class="treeview" style="">
          <a href="#">
            <i class="fa fa-edit"></i>
            <span>告警管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="alarmlists"><i class="fa fa-circle-o"></i> 报警详情</a></li>
          </ul>
        </li>
        <li class="treeview" style="">
          <a href="#">
            <i class="fa fa-edit"></i>
            <span>客户管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-circle-o"></i> 客户信息</a></li>
          </ul>
        </li>
        <li class="treeview" style="">
          <a href="#">
            <i class="fa fa-edit"></i>
            <span>清运管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="#"><i class="fa fa-circle-o"></i> 清运人员</a></li>
          </ul>
        </li>
        <li class="treeview" style="">
          <a href="#">
            <i class="fa fa-edit"></i>
            <span>连接管理</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="/flowinfo"><i class="fa fa-circle-o"></i>流量信息</a></li>
          </ul>
        </li>
        <li class="treeview" style="">
          <a href="#">
            <i class="fa fa-edit"></i>
            <span>统计报表</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="/chart"><i class="fa fa-circle-o"></i> 客户发展</a></li>
          </ul>
        </li>
        <li class="treeview" style="display:none">
          <a href="#">
            <i class="fa fa-edit"></i> <span>Forms</span>
            <span class="pull-right-container">
              <i class="fa fa-angle-left pull-right"></i>
            </span>
          </a>
          <ul class="treeview-menu">
            <li><a href="pages/forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
            <li><a href="pages/forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
            <li><a href="pages/forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
          </ul>
        </li>
       
        
      
       
      </ul>
    </section>
    <!-- /.sidebar -->
  </aside>

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header" style="display:none">
      <h1>
        <small></small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> 主页</a></li>
        <li class="active">分布图</li>
      </ol>
    </section>

    <!-- Main content -->
    <section class="content">
      <!-- Small boxes (Stat box) -->
      <div id="dialog" title="" style="display:none;">
       <div class="modal-dialog" id = "d">
            <div class="modal-content">
              <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close" onclick="$( '#dialog' ).hide();">
                  <span aria-hidden="true">×</span></button>
                <h4 class="modal-title">垃圾桶概览</h4>
              </div>
              <div class="modal-body">
                 <div class="post">
                  <div class="user-block">
                    <img class="img-circle img-bordered-sm" src="img/box1.jpg" alt="User Image">
                        <span class="username">
                          <a href="#" id="name_id">清华大学 </a>
                          <a href="#" class="pull-right btn-box-tool"></a>
                        </span>
                    <span class="description"><a href="#" id="dt_id">查看详情</a></span>
                  </div>
                  <!-- /.user-block -->
                  <div class="row margin-bottom">
                    <div class="col-sm-6">
                      <img class="img-responsive"  id= "photo_id" src="/img/qinghua.jpg" alt="Photo">
                    </div>
                    <!-- /.col -->
                    <div class="col-sm-6">
                      <div class="row">
                        <div class="col-sm-6">
                          <img class="img-responsive" src="../../dist/img/photo2.png" alt="Photo">
                          <br>
                          <img class="img-responsive" src="../../dist/img/photo3.jpg" alt="Photo">
                        </div>
                        <!-- /.col -->
                        <div class="col-sm-6">
                          <img class="img-responsive" src="../../dist/img/photo4.jpg" alt="Photo">
                          <br>
                          <img class="img-responsive" src="../../dist/img/photo1.png" alt="Photo">
                        </div>
                        <!-- /.col -->
                      </div>
                      <!-- /.row -->
                    </div>
                    <!-- /.col -->
                  </div>
                  <!-- /.row -->
                </div>
              </div>
              <div class="modal-footer">
                <button type="button" class="btn btn-outline" style="background:#3364d5" onclick="$( '#dialog' ).hide();" data-dismiss="modal">关闭</button>
              </div>
            </div>
            <!-- /.modal-content -->
          </div>
</div>
      <div class="row" >
        <div class="col-md-9">
          <div id="mapContainer" style="height: 550px; width: 100%">
            </div>
        </div>
        <div class="col-md-3" style="float:right">

          <div class="box" style="position:relative;">
            <div class="box-header">
              <h3 class="box-title">设备发展数排行</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body no-padding">
              <table class="table table-condensed">
                <tbody><tr>
                  <th style="width: 10px"></th>
                  <th>区域</th>
                  <th>百分比</th>
                  <th style="width: 40px">数量</th>
                </tr>
                <tr>
                  <td>1.</td>
                  <td>上海</td>
                  <td>
                    <div class="progress progress-xs">
                      <div class="progress-bar progress-bar-danger" style="width: 100%"></div>
                    </div>
                  </td>
                  <td><span class="badge bg-red">50</span></td>
                </tr>
                <tr>
                  <td>2.</td>
                  <td>广东</td>
                  <td>
                    <div class="progress progress-xs">
                      <div class="progress-bar progress-bar-yellow" style="width: 80%"></div>
                    </div>
                  </td>
                  <td><span class="badge bg-yellow">40</span></td>
                </tr>
                <tr>
                  <td>3.</td>
                  <td>江苏</td>
                  <td>
                    <div class="progress progress-xs progress-striped active">
                      <div class="progress-bar progress-bar-primary" style="width: 60%"></div>
                    </div>
                  </td>
                  <td><span class="badge bg-light-blue">30</span></td>
                </tr>
                <tr>
                  <td>4.</td>
                  <td>浙江</td>
                  <td>
                    <div class="progress progress-xs progress-striped active">
                      <div class="progress-bar progress-bar-success" style="width: 20%"></div>
                    </div>
                  </td>
                  <td><span class="badge bg-green">10</span></td>
                </tr>
                <tr>
                  <td>4.</td>
                  <td>北京</td>
                  <td>
                    <div class="progress progress-xs progress-striped active">
                      <div class="progress-bar progress-bar-success" style="width: 4%"></div>
                    </div>
                  </td>
                  <td><span class="badge bg-green">2</span></td>
                </tr>
              </tbody></table>
            </div>
            <!-- /.box-body -->
          </div>
          <div class="box" style="position:relative;">
            <div class="box-header">
              <h3 class="box-title">近期新装垃圾桶</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body no-padding">
              <table class="table table-condensed">
                <tbody><tr>
                  <th style="">设备编号</th>
                  <th>区域</th>
                  <th >数量</th>
                </tr>
                <tr>
                  <td>460037591072441</td>
                  <td>上海</td>
                  <td>2017-2-10</td>
                </tr>
                <tr>
                  <td>460039051072441</td>
                  <td>广东</td>
                  <td>2017-2-09</td>
                </tr>
                <tr>
                  <td>460036591072441</td>
                  <td>江苏</td>
                  <td>2017-2-8</td>
                </tr>
                <tr>
                  <td>460037591072441</td>
                  <td>浙江</td>
                  <td>2017-2-7</td>
                </tr>
                <tr>
                  <td>460037591072442</td>
                  <td>北京</td>
                  <td>2017-2-6</td>
                </tr>
              </tbody></table>
            </div>
            <!-- /.box-body -->
          </div>
          <div class="box" style="position:relative;">
            <div class="box-header">
              <h3 class="box-title">已安装设备数:170</h3>
            </div>
            <div class="box-header">
              <h3 class="box-title">在线设备数:168</h3>
            </div>
            <!-- /.box-header -->
          </div>
          <!-- /.box -->
        </div>
      </div>


    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->
  <footer class="main-footer">
    <div class="pull-right hidden-xs">
      <b></b> 
    </div>
    <strong>Copyright &copy; 2014-2017 <a href="#">中国电信北京研究院</a>.</strong> All rights
    reserved.
  </footer>

  <!-- Add the sidebar's background. This div must be placed
       immediately after the control sidebar -->
  <div class="control-sidebar-bg"></div>
</div>
<!-- ./wrapper -->

<!-- jQuery 2.2.3 -->
<script src="plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="dist/js/echarts-all.js"></script>
<!-- jQuery UI 1.11.4 -->
<script src="https://code.jquery.com/ui/1.11.4/jquery-ui.min.js"></script>
<!-- Resolve conflict in jQuery UI tooltip with Bootstrap tooltip -->
<script>
  $.widget.bridge('uibutton', $.ui.button);
</script>
<!-- Bootstrap 3.3.6 -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="/js/user/raphael-min.js"></script>
<!-- Sparkline -->
<script src="plugins/sparkline/jquery.sparkline.min.js"></script>
<!-- jvectormap -->
<script src="plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
<script src="plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
<!-- jQuery Knob Chart -->
<script src="plugins/knob/jquery.knob.js"></script>
<!-- daterangepicker -->
<script src="/js/user/moment.min.js"></script>
<script src="plugins/daterangepicker/daterangepicker.js"></script>
<!-- datepicker -->
<script src="plugins/datepicker/bootstrap-datepicker.js"></script>
<!-- Bootstrap WYSIHTML5 -->
<script src="plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js"></script>
<!-- Slimscroll -->
<script src="plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/app.min.js"></script>
<!-- AdminLTE dashboard demo (This is only for demo purposes) -->
<!-- AdminLTE for demo purposes -->
<script src="dist/js/demo.js"></script>
<script src="../js/device/gps.js"></script>

<script src="http://stevenlevithan.com/assets/misc/date.format.js"></script>
<script type="text/javascript">

</script>

 <script type="text/javascript">
        // 基于准备好的dom，初始化echarts实例
        var myChart = echarts.init(document.getElementById('mapContainer'));

        // 使用刚指定的配置项和数据显示图表。
        function randomData() {
    return 0;
}
        option = {
    title : {
        text: 'iphone销量',
        subtext: '',
        x:'center'
    },
    tooltip : {
        trigger: 'item'
    },
    dataRange: {
        min: 0,
        max: 2,
        x: 'left',
        y: 'bottom',
        color: ['yellow','lightskyblue'],
        text:['高','低'],           // 文本，默认为数值文本
        calculable : true
    },
    toolbox: {
        show: false,
        orient : 'vertical',
        x: 'right',
        y: 'center',
        feature : {
            mark : {show: true},
            dataView : {show: true, readOnly: false},
            restore : {show: true},
            saveAsImage : {show: true}
        }
    },
    roamController: {
        show: false,
        x: 'right',
        mapTypeControl: {
            'china': true
        }
    },
    series : [
        {
            name: 'iphone3',
            type: 'map',
            mapType: 'china',
            roam: false,
            itemStyle:{
                normal:{label:{show:true}},
                emphasis:{label:{show:true}}
            },
            data:[
                {name: '北京',value: 2},
                {name: '天津',value: 0},
                {name: '上海',value:50},
                {name: '重庆',value: 0},
                {name: '河北',value: 0},
                {name: '河南',value: 0},
                {name: '云南',value: 0},
                {name: '辽宁',value: 0},
                {name: '黑龙江',value: 0},
                {name: '湖南',value: 0},
                {name: '安徽',value: 0},
                {name: '山东',value: 0},
                {name: '新疆',value: 0},
                {name: '江苏',value: 0},
                {name: '浙江',value: 0},
                {name: '江西',value: 0},
                {name: '湖北',value: 0},
                {name: '广西',value: 0},
                {name: '甘肃',value: 0},
                {name: '山西',value: 0},
                {name: '内蒙古',value: 0},
                {name: '陕西',value: 0},
                {name: '吉林',value: 0},
                {name: '福建',value: 0},
                {name: '贵州',value: 0},
                {name: '广东',value: 0},
                {name: '青海',value: 0},
                {name: '西藏',value: 0},
                {name: '四川',value: 0},
                {name: '宁夏',value: 0},
                {name: '海南',value: 0},
                {name: '台湾',value: 0},
                {name: '香港',value: 0},
                {name: '澳门',value: 0}
            ]
        }
    ]
};
        myChart.setOption(option);               
        myChart.on('click', function (params) {
         var city = params.name;
           if(city=="北京"){
             $("#name_id").text("清华大学");
             $("#name_id").attr('href','trash?id=584a4514421aa9376b000003');
             $("#dt_id").attr('href','trash?id=584a4514421aa9376b000003');
             $("#photo_id").attr('src','img/qinghua.jpg');
             $( "#dialog" ).hide();
             $( "#dialog" ).show();
             $( "#dialog" ).dialog();
           }else if(city=="浙江"){
             $("#name_id").text("G20");
             $("#name_id").attr('href','trash?id=584a4514421aa9376b000003');
             $("#dt_id").attr('href','trash?id=584a4514421aa9376b000003');
             $("#photo_id").attr('src','img/g20.jpg');
             $( "#dialog" ).hide();
             $( "#dialog" ).show();
             $( "#dialog" ).dialog();
           }else if (city=="上海"){
             $("#name_id").text("上海外滩");
             $("#name_id").attr('href','trash?id=584a44aa421aa93762000003');
             $("#dt_id").attr('href','trash?id=584a44aa421aa93762000003');
             $("#photo_id").attr('src','img/g20.jpg');
             $( "#dialog" ).hide();
             $( "#dialog" ).show();
             $( "#dialog" ).dialog();
           }else if (city=="上海"){
           }
           
            //alert(city);
        });
    </script>
</body>
</html>

